package com.petdog.infrastructure.mapper;

import com.petdog.infrastructure.entity.Image;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ImageMapper {
    int insert(Image image);
    Image selectById(@Param("imageId") Long imageId);
    int updateRecognitionResult(Image image); // 用于更新识别结果
}